package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "cn_uac_user_security")
public class UacUserSecurity {

    /**
     * 用户id
     */
    @Id
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 问题1id
     */
    @Column(name = "question1_id")
    private Integer question1Id;

    /**
     * 问题1回答
     */
    @Column(name = "question1_answer")
    private String question1Answer;

    /**
     * 问题2id
     */
    @Column(name = "question2_id")
    private Integer question2Id;

    /**
     * 问题2回答
     */
    @Column(name = "question2_answer")
    private String question2Answer;

    /**
     * 验证次数
     */
    @Column(name = "check_times")
    private Integer checkTimes;
}
